package com.sc.mapper.mapperauto;

import java.util.List;
import java.util.Map;

import com.sc.pojo.Appointment;

public interface AppointmentMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(Appointment record);

    int insertSelective(Appointment record);

    Appointment selectByPrimaryKey(Integer aid);

    int updateByPrimaryKeySelective(Appointment record);

    int updateByPrimaryKey(Appointment record);
    
    //预约申请表录入
     void insertAppointment(Map<String,Object> map);
    //查询此人是否存在于预约申请表中
    List<Appointment> selectByphone(Appointment app);
    
    
}